<?php
/**
 * Create by Phpstorm
 * User: Peco
 * Date: 2019/12/23
 * Time: 21:40
 */

namespace App\Http\Transformers\Auction;

use App\Models\Goods;
use League\Fractal\TransformerAbstract;

class AuctionGoodsPageTransformer extends TransformerAbstract
{
    public function transform(Goods $goods)
    {
        $data = $goods->toArray();

        return $data;
    }
}
